home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
016a
/
dvver.zip
/
DVVER.DOC
< prev
Wrap
Text File
|
1991-09-30
|
2KB
|
61 lines
Sept 30, 1991
DVVER is a very simple program which tells you whether DesqView is
loaded or not, and (if it is) what version you have. This isn't very
interesting in most circumstances, except that DVVER also returns the
version number in its exit code. Therefore, you can use DVVER in batch
files to avoid starting programs which would crash DesqView, and you can
guarantee that DesqView programs run under an appropriate version.
In my experience, games are the worst offenders as far as DesqView
incompatibility is concerned. For example, to prevent Manhole from
starting under DesqView, try a batch file like:
@echo off
dvver s
if errorcode 1 goto cant_do
mh
goto end
:cant_do
echo Can't start ManHole when DesqView is active.
echo Quit DesqView and try again!
:end
DVVER takes two optional command line arguments, which make it
useful in batch files. The arguments are case-insensitive. The
argments can be preceeded by dashes or slashes if you like.
s (silent) inhibits printing of the version to the console
m (minor) returns the minor version in the exit code
If you have DesqView version 2.31, for example, the major version number
is 2 and the minor version number is 31.
Since the DOS exit code (what you test for in an IF ERRORLEVEL
statement) is an integer less than 256, DVVER can only return either the
major or minor version number in a single call. The default is to
return the major version number. I do hope you're not so unlucky as to
find a program which works under only a specific range of minor version
numbers!
DVVER is the sole property of Frank Muennemann, and all
rights to DVVER are reserved. Anyone may freely copy DVVER,
so long as no more than U.S.$5 is charged for the copy, and
so long as it remains unmodified. DVVER is made available
"as is", with no warranty of any kind. Frank Muennemann will
not be liable for special, incidental, consequential,
indirect or other similar damages resulting from the use of
this program.
If you find any bugs in DVVER, or have any comments, suggestions, or
improvements to offer, please contact its author:
Frank Muennemann
13 Happy Hollow Lane
Menlo Park, CA 94025
frankm@resonex
...!sun!resonex!frankm
...!netcom!resonex!frankm